import asyncpg


async def main():
    conn = await asyncpg.connect('postgresql://user:pass@127.0.0.1:3000/brcgame')
    print(conn)
    print('execute fetch')
    print(await conn.fetch('select * from test'))


import asyncio
asyncio.run(main())
